]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Skip SHOWN to SHOWN when changing from app grid to overview
authorSebastian Keller <skeller@gnome.org>
Tue, 20 Dec 2022 12:49:59 +0000 (13:49 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 12 Feb 2023 16:31:04 +0000 (16:31 +0000)
commitf5d793647ba0f813d65241cd53cdc418a9d54498
tree66844f12a4118955ad3a8bb6795d3912c3cb9e5f
parenta91b6439ba457a33cd09d498cb96d1b02e1832e7
overview: Skip SHOWN to SHOWN when changing from app grid to overview

Switching between the app grid and the window picker in the overview via
gestures results in _gestureEnd() getting called with endProgress !== 0
in both cases, which leads to it calling _showDone(). This then
unconditionally changes the state to SHOWN, which in this situation is
already the current state. Since the previous commit this results in a
warning, so check if we are already in the SHOWN state.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2514>
js/ui/overview.js